//************************************************************************************************************
//  pp212.java    Author:20172330
//
//************************************************************************************************************
import java.util.Scanner;

public class pp212
{
   public static void main(String []args)
   {
   short a,peimeter,area;

   Scanner scan = new Scanner(System.in);

   System.out.println("Enter the side length of the square;");
   a = scan.nextShort();

   peimeter = (short)(4 * a);
   area = (short)(a * a);
 
   System.out.println("peimeter of the square: " + peimeter);
   System.out.println("area of the square: " + area);
   }
}
